<div class="main layui-clear">
    <div class="wrap">
        <div style="margin-right:0" class="content">
            <include file="Common:questionbar" />
            <ul class="fly-list">
                <?php if (empty($list)) { ?>
                    <li class="fly-none">暂无内容</li>
                <?php } else { ?>
                <?php foreach ($list as $value) { ?>
                    <li class="fly-list-li">
                        <a class="fly-list-avatar" href="{:U('home/center/index',array('uid'=>$value['uid']))}">
                            <img alt="{$value['uname']}" src="__ROOT__/{$value['avatar']}">
                        </a>
                        <h2 class="fly-tip">
                            <a href="{:U('home/question/qpage',array('qid'=>$value['qid']))}">
                                {$value['title']}
                            </a>
                            <?php if ($value['top'] == 1) { ?>
                                <span class="fly-tip-stick">置顶</span>
                            <?php } ?>
                        </h2>
                        <p>
                            <span>
                                <a href="{:U('home/center/index',array('uid'=>$value['uid']))}">
                                    {$value['uname']}
                                </a>
                            </span>
                            <span>
                                {:timeFormat($value['qtime'])}
                            </span>
                            <span>
                                {$value['category']}
                            </span>
                            <span class="fly-list-hint">
                                <i title="回答" class="iconfont">
                                    
                                </i>
                                {$value['num_of_ans']}
                                <i title="人气" class="iconfont">
                                    
                                </i>
                                {$value['views']}
                            </span>
                        </p>
                    </li>
                <?php } ?>
                <?php } ?>
            <div style="text-align: center">
                <include file="Common:page" />
            </div>
        </div>
    </div>
</div>